/* Layout */
import Layout from '@/layout'
export default
{
  path: '/employees',
  component: Layout, // 如果子组件为空的话，默认自动匹配
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import('@/views/employess/employess.vue'),
      meta: { title: '员工管理', icon: 'tree' }// 左侧栏菜单显示内容
    },
    {
      path: 'detail/:id',
      component: () => import('@/views/employess/detail.vue'),
      name: 'detail',
      hidden: true// 不在左侧菜单显示
    }

  ]

}
